const {list}=require('./mock')

module.exports=app=>{

    app.get('/api/list',(req,res)=>{
        res.send({
            code:200,
            message:'数据获取成功',
            data:list
        })
    })
}